import { createRouter, createWebHashHistory } from 'vue-router'
import type { RouteRecordRaw } from 'vue-router'
import Index from '@/views/index.vue'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Index',
    component: Index
  },
  {
    path: '/game',
    name: 'Game',
    component: () => import('@/views/evajs/game.vue')
  },
  {
    path: '/lit',
    name: 'Lit',
    component: () => import('@/views/lit/lit.vue')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
